package com.ruoyi.degree.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class BizReserveExport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    /** 院校名称 */
    @Excel(name = "院校名称")
    private String schoolName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveDate;

    /** 参观人数 */
    @Excel(name = "参观人数")
    private Long visitorNum;

    /** 意向专业 */
    @Excel(name = "意向专业")
    private String professions;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }


    public void setSchoolName(String schoolName)
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName()
    {
        return schoolName;
    }

    public void setReserveDate(Date reserveDate)
    {
        this.reserveDate = reserveDate;
    }

    public Date getReserveDate()
    {
        return reserveDate;
    }

    public void setVisitorNum(Long visitorNum)
    {
        this.visitorNum = visitorNum;
    }

    public Long getVisitorNum()
    {
        return visitorNum;
    }

    public void setProfessions(String professions)
    {
        this.professions = professions;
    }

    public String getProfessions()
    {
        return professions;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber()
    {
        return idNumber;
    }

    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }

    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }

    public void setCreatedAt(Date createdAt)
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt()
    {
        return createdAt;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())

                .append("schoolName", getSchoolName())
                .append("reserveDate", getReserveDate())
                .append("visitorNum", getVisitorNum())
                .append("professions", getProfessions())
                .append("name", getName())
                .append("idNumber", getIdNumber())
                .append("phoneNumber", getPhoneNumber())
                .append("note", getNote())
                .append("createdAt", getCreatedAt())

                .toString();
    }
}
